<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>appframework空白项目</title>
		<meta http-equiv="X-UA-
			" content="IE=edge" />		
		<!-- 禁止浏览器使用本地缓存 -->
		<meta http-equiv="Pragma" content="no-cache" />
		<!-- 是否启用全屏设置 -->
		<meta name="apple-mobile-web-app-capable" content="yes"/>
		<!-- 禁止浏览器放大缩小 -->
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no"/>		
		<!-- 引入字体图标文件 icon.css -->
		<link rel="stylesheet" type="text/css" href="css/icons.css"/>
		<!-- 引入界面css样式文件 af.ui.css-->
		<link rel="stylesheet" type="text/css" href="css/af.ui.css"/>
		<link rel="stylesheet/less" type="text/css" href="newindex.less"/>
		<script src="../wwwroot/libs/less.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body class="ios7">
		<!-- app 启动页 id="splashscreen" -->
		<div id="splashscreen" class="ui-loader ">
			这是 app 的启动页面
			<span class="ui-icon ui-icon-loading spin"></span>
			<p>还有什么内容要显示，都可以在这里添加和配置</p>
		</div>
		
		<!-- 主页(导航视图,容器) -->
		<div id="mainview" class="view">
			<!-- 导航条(navigation-bar) --> 
			<header>
				<h1>导航条</h1>
				<a style="float: left;"  class="menuButton" id="menuButton"  ></a>
			
			</header>
			<!-- 页面内容 -->
			<div class="pages" >
				<div class="panel" id="main" data-title = "主页" data-include="search2.html">
					这是第一个页面
				</div>
				<div class="panel" id="post" data-title = "我" data-include="userHistory.html" >
					这是第二个页面
					<br /><br />
					<a href="#about" class="button" data-transition="slide-left">左侧划入about</a>
				</div>
				<div class="panel" id="about" data-title="关于">
					这是第三个页面
				</div>
				<div class="panel" id="settings" data-title="设置">
					这是第四个页面
				</div>
			</div>
			<!-- 分页条(tab-bar) -->
			<footer>
				<!-- data-transition:页面切换样式 -->
				<a href="#main" class="icon home" data-transition="cover">首页</a>
				<!--<a href="#mine" class="icon-plus-sign " data-transition="cover"></a>-->
				<a href="#post" class="icon add" data-transition="cover">发表文章</a>
				<a href="#user" class="icon user" data-transition="cover">个人</a>
			</footer>
		</div>	
		
		<!--侧边栏-->
		<nav id="leftNav">
			<div class="view active">
				<header>
					<h1>吐槽版</h1>
				</header>
				<div class="pages">
					<div class="panel active">
						<div class="searchDiv">
							<input type="search" name="searchB" id="searchB" value="" placeholder="输入板块名称" />
							<a  class="button searchBtn"><span class="icon magnifier"></span></a>
						</div>
						<ul class="list listP">
							<li><a href="">one</a></li>
											
						</ul>
							<ul class="list inset" style="display: none;">
								<li><a href="">oneByone</a></li>
								<li><a href="">oneByone</a></li>
								<li><a href="">oneByone</a></li>
							</ul>
							<ul class="list listP">
								<li><a href="">two</a></li>
							</ul>
								<ul class="list inset" style="display: none;">
									<li><a href="">oneByone</a></li>
									<li><a href="">oneByone</a></li>
									<li><a href="">oneByone</a></li>
								</ul>
						<!--<button class="button" data-menu-close>关闭</button>-->
					</div>
				</div>
			</div>
		</nav>
		
	</body>
</html>
<!-- 引入js -->
<script src="libs/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/fastclick.js" type="text/javascript" charset="utf-8"></script>
<script src="libs/appframework.ui.js" type="text/javascript" charset="utf-8"></script>
<script src="newindex.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	$(function(){
		$(".listP").click(function(){
			$(this).next().slideToggle();
		});
	});
</script>


